\documentclass{minimal}
\usepackage{standalone}
\begin{document}

\input{tex/ch1.tex}

\end{document}
